<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  	<head> 
	    <title>修改信息</title>
	    <meta http-equiv="X-UA-Compatible" content='IE=edge' />
	     <%@ include file="/inc/info.inc" %>
		<script type="text/javascript" src="js/changeAgent.js"></script>
  	</head>
  	<body>
	 	<div id="agentAdd" class="hd_page">
			<div><%@ include file="../manage/heading.jsp"%></div>
			<div><%@ include file="../manage/hd_menu.jsp"%></div>
	  		<div class="content">
				<div class="panel panel-primary panel-hd">
	  				<div class="panel-heading">修改信息</div>
	  				<div class="panel-body">
				 		<form id="agentAddForm" class="form-horizontal" style="width: 600px;">
							<div class="form-group">
								<label class="col-sm-4 control-label no-padding-right">名称：</label>
								<div class="col-sm-8">
									<input type="text" class="form-control" id="agentName"/>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-4 control-label no-padding-right">座机号码：</label>
								<div class="col-sm-8">
									<input type="text" class="form-control col-6p" id="agentPhone1"/>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-4 control-label no-padding-right">手机号码：</label>
								<div class="col-sm-8">
									<input type="text" class="form-control col-6p" id="agentPhone2"/>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-4 control-label no-padding-right">地区：</label>
								<div class="col-sm-4">
								     <select class="form-control province" id="province" onchange="provinceChange()">
								        <option>请选择省</option>
								     </select>
								</div>
								<div class="col-sm-4">
								     <select class="form-control city" id="city">
								        <option>请选择市</option>
								     </select>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-4 control-label no-padding-right">详细地址</label>
								<div class="col-sm-8">
									<input type="text" class="form-control" id="addr"/>
								</div>
							</div>
							<div id='alertdiv'></div>
							<div class="alert alert-danger" style="display: none;"></div>
							<div class="form-group">
							 	<div class="form-btns col-sm-8 col-md-offset-4">
									<button onclick="change()" type="button"  class="btn btn-success">确认修改</button>
									<button onclick="ret()" type="button"  class="btn btn-success">重置</button>
							 	</div>
							</div>
					 	</form>
	 				</div>
	 			</div>
		 	</div>
	 	    <div><%@ include file="/pages/manage/footer.jsp"%></div>
	 	</div> 
  	</body>
</html>
